<?php
/**
 * Created by PhpStorm.
 * User: CJJ
 * Date: 2017/8/24
 * Time: 13:52
 */
require ('../class/LeaderManager.class.php');
require_once ('../../UserInfo.php');
require ('../../Common.php');
//
$user=new UserInfo();
$r = $user->getApprovePower($_POST['user_id']);
if($r == false){
    $resultArrayAll['state'] = 0;
    $resultArrayAll['error'] = 'DB_ERROR';
}
else{
    $resultArrayAll['state'] = 1;
    $resultArrayAll['data'] = $r;
}
echo json_encode($resultArrayAll);
?>